package srjava.server;

import srjava.messages.*;

public class RemoteTask {
	Task task;
	String runningAt;
	
	public RemoteTask() {
		task = new Task();
		runningAt = new String();
	}
	
	public RemoteTask(Task task, String runningAt) {
		super();
		this.task = task;
		this.runningAt = runningAt;
	}

	public SrString getTask() {
		return this.task.getTask();
	}
	public void setTask(SrString task) {
		this.task.setTask(task);
	}
	public String getRunningAt() {
		return runningAt;
	}
	public void setRunningAt(String runningAt) {
		this.runningAt = runningAt;
	}
	
	public void setTaskInfo(TaskInfo taskInfo) {
		this.task.setTaskInfo(taskInfo);
	}
	
	public int getTaskId() {
		return this.task.getTaskId();
	}

	public TaskInfo getTaskInfo() {
		return this.task.getTaskInfo();
	}
}
